package com.netease.ssm.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.netease.ssm.mapper.ContentMapper;

@Service
public class DeleteService {
	@Autowired
	private ContentMapper contentMapper;
	public void deleteProduct(Integer id){
		contentMapper.deleteByPrimaryKey(id);
	}
}
